package com.tx.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Author: tcx
 * @description: 轮播图实体类
 * @Date: 2019/11/20
 **/
public class LunBo {
    private Integer lId;//图片标识
    private String lName;//文件名
    private Integer uId;//上传用户标识
    private String lPath;//图片路径
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date lcreateTime;//图片上传时间

    private User user;

    public Integer getlId() {
        return lId;
    }

    public void setlId(Integer lId) {
        this.lId = lId;
    }

    public String getlName() {
        return lName;
    }

    public void setlName(String lName) {
        this.lName = lName;
    }

    public Integer getuId() {
        return uId;
    }

    public void setuId(Integer uId) {
        this.uId = uId;
    }

    public String getlPath() {
        return lPath;
    }

    public void setlPath(String lPath) {
        this.lPath = lPath;
    }

    public Date getLcreateTime() {
        return lcreateTime;
    }

    public void setLcreateTime(Date lcreateTime) {
        this.lcreateTime = lcreateTime;
    }

    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
